import  cookie from  "js-cookie";

// 设置登录状态 authorization
export function setCookie(value:string){
    cookie.set('authorization',value,{expires:1});
}
// 删除登录态 authorization
export function removeCookie(){
    cookie.remove("authorization");
}
// 获取登录态 authorization
export function getCookie(){
    cookie.get("authorization");
}